Skip to content

Update inscriptis requirement from <2.7.7,>=2.7.6 to >=2.7.7,<2.7.8 - #4820

Merged
dgtlmoon merged 1 commit into
masterfrom
dependabot/pip/inscriptis-gte-2.7.7-and-lt-2.7.8
Nov 27, 2026
Merged

dgtlmoon merged 1 commit into
masterfrom
dependabot/pip/inscriptis-gte-2.7.7-and-lt-2.7.8

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 27, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on inscriptis to permit the latest version.

Release notes

Sourced from inscriptis's releases.

Security and Reliability Improvements

This release fixes a Regular Expression Denial of Service (ReDoS) vulnerability in CSS length parsing, corrects command-line timeout handling when fetching URLs, and updates development dependencies.

Fixes

  • Fixed a quadratic-time Regular Expression Denial of Service (ReDoS) vulnerability in CSS length parsing. Malicious HTML containing specially crafted CSS values in style attributes could cause excessive CPU consumption when processed by get_text() or get_annotated_text(). See GHSA-r39g-x868-w7r7 for details.
  • Fixed URL fetching when using the command-line --timeout option. Timeout values are now correctly parsed as floating-point numbers before being passed to requests, preventing errors in urllib3.

Improvements

  • Improved CSS length parsing by explicitly defining supported CSS units and their approximate conversion factors.
  • Added input length limits and validation for CSS length specifications to protect against malformed HTML.

Maintenance

  • Updated development dependencies and Docker base image (python:3.15-slim).
  • Updated type-checker configuration to use current rule names.

Credits

Many thanks to @​InlitX for identifying the Regular Expression Denial of Service vulnerability, and to Mario Belmonte for fixing the parsing of timout values.

Users of inscriptis 2.7.6 are encouraged to upgrade to address the CSS parsing vulnerability. Users of earlier versions will also benefit from the command-line timeout fix and other improvements.

Commits
  • 0c0fe1f Merge pull request #139 from weblyzard/dependabot/docker/python-3.15-slim
  • 5121f7d Merge pull request #137 from weblyzard/dependabot/github_actions/github/codeq...
  • 9001282 Merge pull request #140 from weblyzard/feature/inscriptis-2.7.7
  • 100df3d fix: Quadratic-time (O(n^2)) ReDoS in CSS length unit parsing (RE_UNIT) via a...
  • 748ed05 chg: upped version and updated dependencies.
  • 597745e fix: correctly handle timeout values.
  • 621f85a build(deps): bump python from 3.14-slim to 3.15-slim
  • ef077fb build(deps): bump github/codeql-action from 4.39.0 to 4.39.3
  • ac9d3e8 fix: type annotation inconsistency.
  • b458f8a chg: updated build dependencies.
  • See full diff in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [inscriptis](https://github.com/weblyzard/inscriptis) to permit the latest version.
- [Release notes](https://github.com/weblyzard/inscriptis/releases)
- [Commits](weblyzard/inscriptis@2.7.6...2.7.7)

---
updated-dependencies:
- dependency-name: inscriptis
  dependency-version: 2.7.7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 27, 2026
@dgtlmoon
dgtlmoon merged commit a55feb8 into master Nov 27, 2026
46 checks passed
@dependabot
dependabot Bot deleted the dependabot/pip/inscriptis-gte-2.7.7-and-lt-2.7.8 branch November 27, 2026 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant